#include <iostream>
#include <chrono>
#include <random>
#include <ctime>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <queue>
#include <stack>
#include <deque>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include <functional>
#define VNAME(name) (#name)
#define debug(x) {int debugx = x; std::cout << " (" << VNAME(x) << ": " << (debugx) << ")\n";}
#define F_(n) cout << fixed << setprecision(n)
using namespace std;
typedef long long LL;
const int MAXN = 2e5 + 5;
const int MOD = 1e9 + 7;
mt19937 rng((int)chrono::steady_clock::now().time_since_epoch().count());
bool _linux_Flag;
/*static int _ = [](){
    ios::sync_with_stdio(0);
    cin.tie(0), cout.tie(0);
    return 0;
}();//*/
int solve() {
    set<int> s;  
    s.insert(1);  
    s.insert(3);  
    s.insert(4); 
    cout << "hello";
    cout << distance(s.begin(), s.lower_bound(2)) << endl;  
    cout << *s.lower_bound(3) << endl;  
    cout << *s.upper_bound(3) << endl;  
    return 0; 
}
signed main() {
    #ifndef ONLINE_JUDGE
		_linux_Flag = false; //freopen("C:\\Users\\lenovo\\Desktop\\in.in", "r", stdin);
	#endif
    int t = 1;
    //cin >> t;
    while (t --) {
        solve();
    }
    system("pause");
    return 0;
}